package com.ruoyi.device.service;

import com.ruoyi.device.domain.ElectricFence;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.device.domain.req.fence.ElectricFenceAddReq;
import com.ruoyi.device.domain.req.fence.ElectricFenceEditReq;
import com.ruoyi.device.domain.req.fence.ElectricFenceReq;
import com.ruoyi.device.domain.req.hatdevice.HatDeviceAddReq;
import com.ruoyi.device.domain.resp.fence.ElectricFenceResp;
import com.ruoyi.device.domain.resp.hatdevice.HatDeviceByIdResp;

import java.util.List;

/**
* @author 11452
* @description 针对表【electric_fence(电子围栏表)】的数据库操作Service
* @createDate 2023-12-02 11:47:09
*/
public interface ElectricFenceService extends IService<ElectricFence> {

    /**
     * 电子围栏查询
     * @param req
     * @return
     */
    List<ElectricFenceResp> search(ElectricFenceReq req);

    Boolean add(ElectricFenceAddReq req);

    Boolean edit(ElectricFenceEditReq req);

    ElectricFenceResp findByid(Long id);

    Boolean updateDel(Long[] id);

    Boolean editStatus(Long id);
}
